<style lang="scss">
  @import "./teacherCard";
</style>

<template>
	<div id="teacher-card">
		<img :src="teacherInfo.headImg" style="width: 100%;">
		<div>姓名：{{teacherInfo.name}}</div>
		<div>科目：{{teacherInfo.subject}}</div>
		<div>毕业学校：{{teacherInfo.school}}</div>
	</div>
</template>

<script>
export default {
	name: 'teacherCard',
	
	props: {
      teacherInfo: {
        type: Object,
        default: () => ({})
      }
    },

	data: function() {
		return {

		}
	}
}
</script>

